﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014AF RID: 5295
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateGroupPropertyCsReq : IMessage<UpdateGroupPropertyCsReq>, IMessage, IEquatable<UpdateGroupPropertyCsReq>, IDeepCloneable<UpdateGroupPropertyCsReq>, IBufferMessage
	{
		// Token: 0x1700429C RID: 17052
		// (get) Token: 0x0600ECA7 RID: 60583 RVA: 0x00277F3B File Offset: 0x0027613B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateGroupPropertyCsReq> Parser
		{
			get
			{
				return UpdateGroupPropertyCsReq._parser;
			}
		}

		// Token: 0x1700429D RID: 17053
		// (get) Token: 0x0600ECA8 RID: 60584 RVA: 0x00277F42 File Offset: 0x00276142
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateGroupPropertyCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700429E RID: 17054
		// (get) Token: 0x0600ECA9 RID: 60585 RVA: 0x00277F54 File Offset: 0x00276154
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateGroupPropertyCsReq.Descriptor;
			}
		}

		// Token: 0x0600ECAA RID: 60586 RVA: 0x00277F5B File Offset: 0x0027615B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGroupPropertyCsReq()
		{
		}

		// Token: 0x0600ECAB RID: 60587 RVA: 0x00277F70 File Offset: 0x00276170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGroupPropertyCsReq(UpdateGroupPropertyCsReq other) : this()
		{
			this.oEOPFGEDFGB_ = other.oEOPFGEDFGB_;
			this.floorId_ = other.floorId_;
			this.groupId_ = other.groupId_;
			this.lBLFEKKPCNC_ = other.lBLFEKKPCNC_;
			this.dimensionId_ = other.dimensionId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ECAC RID: 60588 RVA: 0x00277FD0 File Offset: 0x002761D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateGroupPropertyCsReq Clone()
		{
			return new UpdateGroupPropertyCsReq(this);
		}

		// Token: 0x1700429F RID: 17055
		// (get) Token: 0x0600ECAD RID: 60589 RVA: 0x00277FD8 File Offset: 0x002761D8
		// (set) Token: 0x0600ECAE RID: 60590 RVA: 0x00277FE0 File Offset: 0x002761E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int OEOPFGEDFGB
		{
			get
			{
				return this.oEOPFGEDFGB_;
			}
			set
			{
				this.oEOPFGEDFGB_ = value;
			}
		}

		// Token: 0x170042A0 RID: 17056
		// (get) Token: 0x0600ECAF RID: 60591 RVA: 0x00277FE9 File Offset: 0x002761E9
		// (set) Token: 0x0600ECB0 RID: 60592 RVA: 0x00277FF1 File Offset: 0x002761F1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FloorId
		{
			get
			{
				return this.floorId_;
			}
			set
			{
				this.floorId_ = value;
			}
		}

		// Token: 0x170042A1 RID: 17057
		// (get) Token: 0x0600ECB1 RID: 60593 RVA: 0x00277FFA File Offset: 0x002761FA
		// (set) Token: 0x0600ECB2 RID: 60594 RVA: 0x00278002 File Offset: 0x00276202
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170042A2 RID: 17058
		// (get) Token: 0x0600ECB3 RID: 60595 RVA: 0x0027800B File Offset: 0x0027620B
		// (set) Token: 0x0600ECB4 RID: 60596 RVA: 0x00278013 File Offset: 0x00276213
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public string LBLFEKKPCNC
		{
			get
			{
				return this.lBLFEKKPCNC_;
			}
			set
			{
				this.lBLFEKKPCNC_ = ProtoPreconditions.CheckNotNull<string>(value, "value");
			}
		}

		// Token: 0x170042A3 RID: 17059
		// (get) Token: 0x0600ECB5 RID: 60597 RVA: 0x00278026 File Offset: 0x00276226
		// (set) Token: 0x0600ECB6 RID: 60598 RVA: 0x0027802E File Offset: 0x0027622E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DimensionId
		{
			get
			{
				return this.dimensionId_;
			}
			set
			{
				this.dimensionId_ = value;
			}
		}

		// Token: 0x0600ECB7 RID: 60599 RVA: 0x00278037 File Offset: 0x00276237
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateGroupPropertyCsReq);
		}

		// Token: 0x0600ECB8 RID: 60600 RVA: 0x00278048 File Offset: 0x00276248
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateGroupPropertyCsReq other)
		{
			return other != null && (other == this || (this.OEOPFGEDFGB == other.OEOPFGEDFGB && this.FloorId == other.FloorId && this.GroupId == other.GroupId && !(this.LBLFEKKPCNC != other.LBLFEKKPCNC) && this.DimensionId == other.DimensionId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ECB9 RID: 60601 RVA: 0x002780C8 File Offset: 0x002762C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OEOPFGEDFGB != 0)
			{
				num ^= this.OEOPFGEDFGB.GetHashCode();
			}
			if (this.FloorId != 0U)
			{
				num ^= this.FloorId.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.LBLFEKKPCNC.Length != 0)
			{
				num ^= this.LBLFEKKPCNC.GetHashCode();
			}
			if (this.DimensionId != 0U)
			{
				num ^= this.DimensionId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ECBA RID: 60602 RVA: 0x0027816D File Offset: 0x0027636D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ECBB RID: 60603 RVA: 0x00278175 File Offset: 0x00276375
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ECBC RID: 60604 RVA: 0x00278180 File Offset: 0x00276380
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.GroupId);
			}
			if (this.FloorId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.FloorId);
			}
			if (this.DimensionId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.DimensionId);
			}
			if (this.OEOPFGEDFGB != 0)
			{
				output.WriteRawTag(72);
				output.WriteInt32(this.OEOPFGEDFGB);
			}
			if (this.LBLFEKKPCNC.Length != 0)
			{
				output.WriteRawTag(98);
				output.WriteString(this.LBLFEKKPCNC);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ECBD RID: 60605 RVA: 0x00278234 File Offset: 0x00276434
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OEOPFGEDFGB != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.OEOPFGEDFGB);
			}
			if (this.FloorId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FloorId);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.LBLFEKKPCNC.Length != 0)
			{
				num += 1 + CodedOutputStream.ComputeStringSize(this.LBLFEKKPCNC);
			}
			if (this.DimensionId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DimensionId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ECBE RID: 60606 RVA: 0x002782D8 File Offset: 0x002764D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateGroupPropertyCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OEOPFGEDFGB != 0)
			{
				this.OEOPFGEDFGB = other.OEOPFGEDFGB;
			}
			if (other.FloorId != 0U)
			{
				this.FloorId = other.FloorId;
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.LBLFEKKPCNC.Length != 0)
			{
				this.LBLFEKKPCNC = other.LBLFEKKPCNC;
			}
			if (other.DimensionId != 0U)
			{
				this.DimensionId = other.DimensionId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ECBF RID: 60607 RVA: 0x00278369 File Offset: 0x00276569
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ECC0 RID: 60608 RVA: 0x00278374 File Offset: 0x00276574
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 8U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 40U)
					{
						this.FloorId = input.ReadUInt32();
						continue;
					}
				}
				else
				{
					if (num == 64U)
					{
						this.DimensionId = input.ReadUInt32();
						continue;
					}
					if (num == 72U)
					{
						this.OEOPFGEDFGB = input.ReadInt32();
						continue;
					}
					if (num == 98U)
					{
						this.LBLFEKKPCNC = input.ReadString();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005D95 RID: 23957
		private static readonly MessageParser<UpdateGroupPropertyCsReq> _parser = new MessageParser<UpdateGroupPropertyCsReq>(() => new UpdateGroupPropertyCsReq());

		// Token: 0x04005D96 RID: 23958
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005D97 RID: 23959
		public const int OEOPFGEDFGBFieldNumber = 9;

		// Token: 0x04005D98 RID: 23960
		private int oEOPFGEDFGB_;

		// Token: 0x04005D99 RID: 23961
		public const int FloorIdFieldNumber = 5;

		// Token: 0x04005D9A RID: 23962
		private uint floorId_;

		// Token: 0x04005D9B RID: 23963
		public const int GroupIdFieldNumber = 1;

		// Token: 0x04005D9C RID: 23964
		private uint groupId_;

		// Token: 0x04005D9D RID: 23965
		public const int LBLFEKKPCNCFieldNumber = 12;

		// Token: 0x04005D9E RID: 23966
		private string lBLFEKKPCNC_ = "";

		// Token: 0x04005D9F RID: 23967
		public const int DimensionIdFieldNumber = 8;

		// Token: 0x04005DA0 RID: 23968
		private uint dimensionId_;
	}
}
